package com.runa.monitor.platinterface.extend.third.newester.vo;


import com.runa.monitor.platinterface.extend.third.newester.validator.Date;
import org.apache.pulsar.shade.io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.Digits;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.math.BigDecimal;

/**
 * @Author: wjx
 * @Description:
 * @Date: 2023/04/27 10:51
 * @Version: 1.0
 */
public class NetEquDockingDetailVo {

    @NotBlank
    @Size(max = 25)
    @ApiModelProperty(value = "编号")
    private String serialNo;

    @ApiModelProperty(value = "0：在线 1：掉线")
    @NotBlank
    @Size(max = 1)
    private String state;

    @Date(datePattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "任务时间：yyyy-MM-dd HH:mm:ss")
    private String recentlyTime;

    @ApiModelProperty(value = "耗电量，单位：KWH，最多整数11位，小数2位")
    @Digits(integer = 11, fraction = 2)
    private BigDecimal batteryConsumption;

    @ApiModelProperty(value = "信号强度")
    @Size(max = 11)
    private String signal;

    @ApiModelProperty(value = "ICCID（卡号）")
    @Size(max = 64)
    private String iccid;

    @ApiModelProperty(value = "版本号")
    @Size(max = 32)
    private String version;

    public String getSerialNo() {
        return serialNo;
    }

    public void setSerialNo(String serialNo) {
        this.serialNo = serialNo;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getRecentlyTime() {
        return recentlyTime;
    }

    public void setRecentlyTime(String recentlyTime) {
        this.recentlyTime = recentlyTime;
    }

    public BigDecimal getBatteryConsumption() {
        return batteryConsumption;
    }

    public void setBatteryConsumption(BigDecimal batteryConsumption) {
        this.batteryConsumption = batteryConsumption;
    }

    public String getSignal() {
        return signal;
    }

    public void setSignal(String signal) {
        this.signal = signal;
    }

    public String getIccid() {
        return iccid;
    }

    public void setIccid(String iccid) {
        this.iccid = iccid;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }
}
